package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 规格管理对象 d_sizes
 * 
 * @author ruoyi
 * @date 2025-04-03
 */
public class DSizes extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 规格ID */
    private Long id;

    /** 规格名称 */
    @Excel(name = "规格名称")
    private String name;

    /** 状态(默认为0，0：正常/1：无) */
    @Excel(name = "状态(默认为0，0：正常/1：无)")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("status", getStatus())
            .append("remark", getRemark())
            .toString();
    }
}
